package errors;

public class ValidationException extends Exception {
	private static final long serialVersionUID = 7074360044012276675L;
	
	private String fieldName;

	public ValidationException(String fieldName, String message){
		super(message);
		this.fieldName=fieldName;
	}
	
	public String getFieldName() {
		return fieldName;
	}
	
}
